<template>
  <div class="seckill-view">
    <div class="container">
      <div class="header">
        <div class="left">
          <span class="title">
            {{ title }}
          </span>
          <span class="time">00</span>
          <span class="separator">:</span>
          <span class="time">00</span>
          <span class="separator">:</span>
          <span class="time">00</span>
        </div>
        <div class="right">
          <span>更多</span>
          <i class="el-icon-arrow-right" />
        </div>
      </div>
      <div class="content">
        <img src="../../../../../assets//images/no_homebase.png">
        <span class="text">敬请期待，更多秒杀好货~</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'SeckillView',
  props: {
    options: {
      type: Object,
      default: null
    }
  },
  computed: {
    title() {
      return this.options.title
    }
  }
}
</script>
<style lang="scss" scoped>
.seckill-view{
  padding:12px
}
.container{
  background-color: #fff;
  border-radius: 8px;
}
.header{
  padding: 16px 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title{
  font-size: 18px;
  color: #333;
  font-weight: 700;
  margin-right: 10px;
}
.time{
  width: 18px;
  height: 15px;
  line-height: 16px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background-color: #000;
  border-radius: 2px;
  display: inline-block;
}
.separator{
  padding:0 4px;
}
.right{
  font-size: 13px;
  color: #999;
}
.content{
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .text{
    margin-top: 16px;
    font-size: 14px;
    color: #999;
  }
}
img{
  width: 120px;
  height: 120px;
}
</style>
